package com.atguigu.gmall.list.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.Date;

/**
 * @author A
 * @version 1.0
 * @description: TODO
 * @date 2025/9/6 1:24
 */
@Document(indexName = "person",createIndex = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Person {
    @Id
    private Long id;
    private String name;
    private String email;
    private String address;
    private Date birthday;

}
